package com.whl.product.mapper;

import com.whl.product.domain.Product;
import com.whl.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author whl
 * @since 2022-06-20
 */
public interface ProductMapper extends BaseMapper<Product> {

    // 下架
    void offsale(@Param("ids") List<Long> ids, @Param("offTime") Date offTime);
}
